package com.xy.model;

import java.io.Serializable;

public class Author implements Serializable ,User{
    private String nickName;

    private String sex;

    private Integer subscriptions;

    private Integer collections;

    private Integer concerns;

    private String footmark;

    private String works;

    private Integer fans;

    private String password;

    private String headimage;

    private String email;

    private static final long serialVersionUID = 1L;

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName == null ? null : nickName.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public Integer getSubscriptions() {
        return subscriptions;
    }

    public void setSubscriptions(Integer subscriptions) {
        this.subscriptions = subscriptions;
    }

    public Integer getCollections() {
        return collections;
    }

    public void setCollections(Integer collections) {
        this.collections = collections;
    }

    public Integer getConcerns() {
        return concerns;
    }

    public void setConcerns(Integer concerns) {
        this.concerns = concerns;
    }

    public String getFootmark() {
        return footmark;
    }

    public void setFootmark(String footmark) {
        this.footmark = footmark == null ? null : footmark.trim();
    }

    public String getWorks() {
        return works;
    }

    public void setWorks(String works) {
        this.works = works == null ? null : works.trim();
    }

    public Integer getFans() {
        return fans;
    }

    public void setFans(Integer fans) {
        this.fans = fans;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getHeadimage() {
        return headimage;
    }

    public void setHeadimage(String headimage) {
        this.headimage = headimage == null ? null : headimage.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", nickName=").append(nickName);
        sb.append(", sex=").append(sex);
        sb.append(", subscriptions=").append(subscriptions);
        sb.append(", collections=").append(collections);
        sb.append(", concerns=").append(concerns);
        sb.append(", footmark=").append(footmark);
        sb.append(", works=").append(works);
        sb.append(", fans=").append(fans);
        sb.append(", password=").append(password);
        sb.append(", headimage=").append(headimage);
        sb.append(", email=").append(email);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}